import Vue from 'vue'
import Router from 'vue-router'
import MGoods from '@/components/goods/Goods'
import MSeller from '@/components/seller/Seller'
import MRatings from '@/components/ratings/Ratings'

Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      name: 'MGoods',
      component: MGoods
    },
    {
      path: '/seller',
      name: 'MSeller',
      component: MSeller
    },
    {
      path: '/ratings',
      name: 'MRatings',
      component: MRatings
    }
  ]
})
